package com.zhou.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhou.api.dto.CheckOnWorkExamineDTO;
import com.zhou.api.dto.CheckOnWorkSaveDTO;
import com.zhou.api.entity.CheckOnWork;

public interface CheckOnWorkService {
    void add(CheckOnWorkSaveDTO checkOnWorkSaveDTO);

    void update(CheckOnWorkSaveDTO checkOnWorkSaveDTO);

    void askForLeave(CheckOnWorkSaveDTO checkOnWorkSaveDTO);

    void toExamine(CheckOnWorkExamineDTO checkOnWorkExamineDTO);

    Page<CheckOnWork> waitExamine(CheckOnWorkExamineDTO dto);

    Page<CheckOnWork> getList(CheckOnWorkSaveDTO dto);
}
